<?php
/** @var NiniosInfoCartasemanalController $this */
/** @var NiniosInfoCartasemanal $model */
/**
 * Permite administrar una lista del modelo NiniosInfoCartasemanal */
if (Yii::app()->user->checkAccess("institucion")) :
    $this->menu = array(
        array('label' => Yii::t('AweCrud.app', 'Asignar'), 'icon' => 'plus', 'url' => array('../ninio/NiniosInfoCartasemanal/ajaxMaestro')),
    );
endif;
?>
<div class="row-fluid">
    <div class="span10 ">
        <?php
        $this->beginWidget('zii.widgets.CPortlet', array(
            'title' => Yii::t('AweCrud.app', 'Manage') . ' ' . NiniosInfoCartasemanal::label(2),
        ));
        ?>

        <div class="span12">
            <br>
        </div>
        <div class="well" style="overflow: auto">
            <?php
            $widget->run();
            ?>
            <center>
                <?php
                $this->widget('bootstrap.widgets.TbButton', array(
                    'label' => Yii::t('AweCrud.app', 'Regresar'),
                    'url' => '../institucion/contenidos',
                    'icon' => 'icon-hand-left',
                ));
                ?>
            </center>
            <?php $this->endWidget(); ?>
        </div>
    </div>

    <div class="span2">
        <?php
        $this->beginWidget('zii.widgets.CPortlet', array(
            'title' => Yii::t('AweCrud.app', 'Operaciones'),
        ));
        $this->widget('zii.widgets.CMenu', array(
            'items' => $this->menu,
            'htmlOptions' => array('class' => 'operations'),
        ));
        ?>
        <?php $this->endWidget(); ?>
    </div>
</div>